/*
 * @LastEditors: hyduan
 * @Date: 2021-07-01 22:07:55
 * @LastEditTime: 
 */
import request from '@/api/request'

/******************* 登陆 *******************/
export const login = data =>
    request({
        url: 'login',
        method: 'POST',
        data: data
    })
/******************* 退出登陆 *******************/
export const logout = () => {
    request({
        url: '/logout',
        method: 'GET',
    });
};